<template>
    <el-menu ref="topNavMenu" :default-active="activeMenu" mode="horizontal" @select="(P_Unid) => handleSelect(P_Unid,true)">
        <template v-for="(item, index) in sidebarRouters">
            <el-menu-item :index="resolvePath(item.path)" :key="item.path + index" v-if="index < visibleNumber&&!item.hidden">
                <item :icon="item.meta.icon||(item.meta&&item.meta.icon) || 'unordered-list'" :title="item.meta.title" />
            </el-menu-item>
        </template>
    </el-menu>
</template>

<script>
export default {

}
</script>
